﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using T.AuditField;

namespace T.Vehicleservice.Domain.T.MaintenanceRecord.Model
{
    /// <summary>
    /// 保养记录
    /// </summary>
    [Table("MaintenancesRecord")]
    public class MaintenancesRecord: AuditFields
    {
        /// <summary>
        /// 保养记录ID
        /// </summary>
        [Key]
        public int MaintenanceId { get; set; }
        /// <summary>
        /// 公司ID
        /// </summary>
        public string? CompanyID { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        public int? User_Id { get; set; }
        /// <summary>
        /// 保养标题
        /// </summary>
        public string? MaintenanceTitle {  get; set; }
        /// <summary>
        /// 车牌号
        /// </summary>
        public string? LicensePlateNumber { get; set; }
        /// <summary>
        /// 保养金额
        /// </summary>
        public decimal? MaintenancePrice {  get; set; }
        /// <summary>
        /// 保养负责人
        /// </summary>
        public string? MaintenanceHead {  get; set; }
        /// <summary>
        /// 当前里程数
        /// </summary>
        public int CurrentMileage { get; set; }
       /// <summary>
       /// 上次保养日期
       /// </summary>
        public DateTime? LastMaintenanceDate {  get; set; }
        /// <summary>
        /// 上次保养里程数
        /// </summary>
        public int? LastMileage { get; set; }
        /// <summary>
        /// 当前保养日期
        /// </summary>
        public DateTime? CurrentMileageDate {  get; set; }
        /// <summary>
        /// 保养项目
        /// </summary>
        public string? MaintenanceProject {  get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? MaintenanceRemark {  get; set; }
    }
}
